import requests
from bs4 import BeautifulSoup


def parse_page(page):
    soup = BeautifulSoup(page, features='lxml')
    ulist = soup.select('ul.u-list')[0]
    for li in ulist.select('li'):
        if not li.has_attr('class'):
            print(li.span.text, li.a['title'])

url = r'https://www.ndrc.gov.cn/xxgk/zcfb/fzggwl/index.html?code=&state=123'
page = requests.get(url)
parse_page(page.content.decode('utf-8'))
